<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/static/common/easyui-header.jsp"/>
    <script type="text/javascript" src="/static/js/views/clientPool.js"></script>
</head>
<body>

<table id="client_pool_datagrid"></table>

<%--数据列表工具栏--%>
<div id="client_pool_datagrid_buttons" style="height: 30px">
    <div style="float: left;padding-left: 20px;">
        <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="detailsClientInPool">查看</a>
        <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reloadPool">刷新</a>
        <a class="easyui-linkbutton" iconCls="icon-large_smartart" plain="true" data-cmd="requestClient">交给我</a>
        <a class="easyui-linkbutton" iconCls="icon-sum" plain="true" data-cmd="appointClient">指派给</a>
    </div>
</div>

<%--查看详情--%>
<div id="client_pool_check_dialog" class="easyui-dialog" style="width:1012px;height:680px;top: 100px"
     data-options="iconCls:'icon-search',modal:true ,closed:true,buttons:'#client_pool_check_dialog_buttons'">
    <form id="client_pool_check_form">
        <table style="padding-top: 3px">
            <tr>
                <td style="padding: 8px">客户名:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="name"/></td>
                <td style="padding: 8px">年龄:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="age"/></td>
                <td style="padding: 8px">性别:</td>
                <td style="padding: 8px">
                    <input class="easyui-combobox" name="gender.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=5'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 8px">电话:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="tel"/></td>
                <td style="padding: 8px">qq号码:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="qq"/></td>
                <td style="padding: 8px">email:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="email"/></td>
            </tr>
            <tr>
                <td style="padding: 8px">微信:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="wechat"/></td>
                <td style="padding: 8px">地址:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="address"/></td>
            </tr>
            <tr>
                <td style="padding: 8px">毕业学校:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="school"/></td>
                <td style="padding: 8px">主修课程:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="major"/></td>
                <td style="padding: 8px">英语等级:</td>
                <td style="padding: 8px">
                    <input class="easyui-combobox" name="foreignLangLevel.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=10'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 8px">职业:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="job"/></td>
                <td style="padding: 8px">工作年限:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="yearsOfWorking"/></td>
            </tr>
            <tr>
                <td style="padding: 8px">意向等级:</td>
                <td style="padding: 8px">
                    <input class="easyui-combobox" name="wishLevel.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=2'"/>
                </td>
                <td style="padding: 8px">意向校区:</td>
                <td style="padding: 8px">
                    <input class="easyui-combobox" name="wishCampus.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=7'"/>
                </td>
                <td style="padding: 8px">意向班级:</td>
                <td style="padding: 8px">
                    <input class="easyui-combobox" name="wishClass.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/classgrade/getAllClassgrade'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 8px">意向学科:</td>
                <td style="padding: 8px">
                    <input class="easyui-combobox" name="wishSubject.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=13'"/>
                </td>
                <td style="padding: 8px">客户类型:</td>
                <td style="padding: 8px">
                    <input class="easyui-combobox" name="clientType.id" editable="false"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItem?parentId=11'"/>
                </td>
            </tr>
            <tr>
                <td style="padding: 8px">建档时间:</td>
                <td style="padding: 8px">
                    <input class="easyui-datebox" name="buildDocTime"/></td>
                <td style="padding: 8px">跟进次数:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="traceNumber"/></td>
                <td style="padding: 8px">末次跟进:</td>
                <td style="padding: 8px">
                    <input class="easyui-datebox" name="lastTraceTime"/></td>
            </tr>
            <tr>
                <td style="padding: 8px">关注问题:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="followIssue" multiline="true"
                           style="width:255px;height: 100px"/>
                </td>
                <td style="padding: 8px">备注:</td>
                <td style="padding: 8px">
                    <input class="easyui-textbox" name="remark" multiline="true"
                           style="width:255px;height: 100px"/>
                </td>
            </tr>
        </table>
    </form>
</div>

<div id="appoint_client_dialog" class="easyui-dialog" title="指派客户" style="width:400px;height:150px;"
     data-options="iconCls:'icon-man',modal:true,closed:true,buttons:appoint_client_dialog_buttons">
    <form id="appoint_client_form">
        <input type="hidden" name="id"/>
        <table style="align-items: center;padding-left: 65px">
            <tr>
                <td>客户姓名:</td>
                <td><input class="easyui-textbox" readonly="true" name="name"/></td>
            </tr>
            <tr>
                <td>指派给谁:</td>
                <td><input id="appointWho" class="easyui-combobox" name="appointWhoId"
                           data-options="valueField:'id',textField:'username',url:'/employee/allSellEmp'"/></td>
            </tr>
        </table>
    </form>
</div>

<%--指派客户弹窗按钮--%>
<div id="appoint_client_dialog_buttons">
    <div>
        <a class="easyui-linkbutton" iconCls="icon-ok" data-cmd="appoint_submit">指派</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="appoint_cancel">取消</a>
    </div>
</div>

<%--查看客户池框buttons--%>
<div id="client_pool_check_dialog_buttons" style="height: 30px">
    <div>
        <a class="easyui-linkbutton" iconCls="icon-ok" plain="true" data-cmd="iknow">了解</a>
    </div>
</div>


</body>
</html>
